package com.ruoyi.OutboundManagement.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 其他出库管理对象 other_outbound
 * 
 * @author admin
 * @date 2024-07-04
 */
public class OtherOutbound extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 其他出库记录ID */

    private Long otherId;

    /** 单据编号 */

    @Excel(name = "单据编号")
    private String documentNumber;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 出库原因 */
    @Excel(name = "出库原因")
    private String reason;

    /** 需求总数 */
    @Excel(name = "需求总数")
    private Long totalDemand;

    /** 已拣货总数 */
    @Excel(name = "已拣货总数")
    private Long totalGoodsPicked;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date completionTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 最后更新人 */
    @Excel(name = "最后更新人")
    private String lastUpdater;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setOtherId(Long otherId) 
    {
        this.otherId = otherId;
    }

    public Long getOtherId() 
    {
        return otherId;
    }
    public void setDocumentNumber(String documentNumber) 
    {
        this.documentNumber = documentNumber;
    }

    public String getDocumentNumber() 
    {
        return documentNumber;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setTotalDemand(Long totalDemand) 
    {
        this.totalDemand = totalDemand;
    }

    public Long getTotalDemand() 
    {
        return totalDemand;
    }
    public void setTotalGoodsPicked(Long totalGoodsPicked) 
    {
        this.totalGoodsPicked = totalGoodsPicked;
    }

    public Long getTotalGoodsPicked() 
    {
        return totalGoodsPicked;
    }
    public void setCompletionTime(Date completionTime) 
    {
        this.completionTime = completionTime;
    }

    public Date getCompletionTime() 
    {
        return completionTime;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setLastUpdater(String lastUpdater) 
    {
        this.lastUpdater = lastUpdater;
    }

    public String getLastUpdater() 
    {
        return lastUpdater;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("otherId", getOtherId())
            .append("documentNumber", getDocumentNumber())
            .append("status", getStatus())
            .append("reason", getReason())
            .append("totalDemand", getTotalDemand())
            .append("totalGoodsPicked", getTotalGoodsPicked())
            .append("remark", getRemark())
            .append("completionTime", getCompletionTime())
            .append("createUser", getCreateUser())
            .append("createdAt", getCreatedAt())
            .append("lastUpdater", getLastUpdater())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
